package top.mhtools.pigeon.ding.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import top.mhtools.pigeon.common.persistence.DingRequest;

import java.util.List;

/**
 * 钉钉消息基类
 *
 * @author machen
 * @date 2020/5/26 19:02
 */
@Data
public class BaseDingMessageDTO implements DingRequest {

    @ApiModelProperty(value = "消息类型", example = "text or markdown, text")
    private String msgtype;

    @ApiModelProperty(value = "群机器人Token", required = true)
    private String token;

    @ApiModelProperty(value = "模板ID")
    private String templateId;

    @ApiModelProperty(value = "被@人的手机号(在text内容里要有@手机号)")
    private List<String> atMobiles;

    @Override
    public DingMessageReqDTO getDingMessageReqDTO() {
        return null;
    }

    @Override
    public DingMessageReqDTO.Markdown getMarkdown() {
        return null;
    }

    @Override
    public DingMessageReqDTO.TextDTO getTextDTO() {
        return null;
    }

    @Override
    public DingMessageReqDTO.LinkDTO getLink() {
        return null;
    }
}

